﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpgradeMessageList.aspx.cs" Inherits="BtoBSWT315.Admin.UpgradeMessageList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align='center' width='100%' cellpadding='4' cellspacing='1' border='1' class='grid fixed'>
        <tr>
            <td width='140' class='category'>
                <asp:Label ID="lblState" runat="server" Text="Label"></asp:Label>
            </td>
            <td class='category'>
                <asp:Label ID="lblNum" Font-Bold="True" ForeColor="#ff9900" runat="server" Text="Label">0</asp:Label>
                条
            </td>
        </tr>
    </table>
    <br>
    <asp:DataGrid ID="messageDataGrid" runat="server" AutoGenerateColumns="False" Width="100%"
        CellPadding='4' CellSpacing='1' CssClass='grid fixed'>
        <HeaderStyle HorizontalAlign="Center" CssClass="category"></HeaderStyle>
        <Columns>
            <asp:BoundColumn DataField="id" HeaderText="编号" Visible="false">
                <HeaderStyle ForeColor="#0F83EC"></HeaderStyle>
                <ItemStyle HorizontalAlign="Center"></ItemStyle>
            </asp:BoundColumn>
            <asp:BoundColumn DataField="company" HeaderText="公司名称">
                <HeaderStyle ForeColor="#0F83EC" Width="220px"></HeaderStyle>
                <ItemStyle HorizontalAlign="left"></ItemStyle>
            </asp:BoundColumn>
              <asp:BoundColumn DataField="phone" HeaderText="电话号码">
                <HeaderStyle ForeColor="#0F83EC" Width="150px"></HeaderStyle>
                <ItemStyle HorizontalAlign="left"></ItemStyle>
            </asp:BoundColumn>        
            <asp:BoundColumn DataField="email" HeaderText="E-mail">
                <HeaderStyle ForeColor="#0F83EC" Width="150px"></HeaderStyle>
                <ItemStyle HorizontalAlign="left"></ItemStyle>
            </asp:BoundColumn>
            <asp:BoundColumn DataField="dateandtime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="时间">
                <HeaderStyle ForeColor="#0F83EC" Width="120px"></HeaderStyle>
                <ItemStyle HorizontalAlign="left"></ItemStyle>
            </asp:BoundColumn>
            <asp:TemplateColumn>
                <HeaderStyle Width="150px"></HeaderStyle>
                <ItemStyle HorizontalAlign="left"></ItemStyle>
                <ItemTemplate>
                    <a target="_blank" href='UpgradeDetail.aspx?id=<%#DataBinder.Eval(Container.DataItem,"id")%>'>
                        详细信息</a>
                </ItemTemplate>
            </asp:TemplateColumn>
            <asp:ButtonColumn Text="删除" CommandName="Delete">
                <HeaderStyle></HeaderStyle>
                <ItemStyle HorizontalAlign="left"></ItemStyle>
            </asp:ButtonColumn>
        </Columns>
    </asp:DataGrid>
    </div>
    </form>
</body>
</html>
